﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace hospital_registration_system.Entity
{
    /// <summary>
    /// 疾病表实体类
    /// </summary>
    public class Illness
    {
        private int id;             // id号
        private String illness_name;// 名称
        private String CREATED_BY;// 创建人
        private DateTime CREATED_TIME;// 创建时间
        private String UPDATED_BY;// 更新人
        private DateTime UPDATED_TIME;// 更新时间
        private int state;      // 状态

        public Illness()
        {
        }

        public Illness(int id, string illness_name,string cREATED_BY, DateTime cREATED_TIME, string uPDATED_BY, DateTime uPDATED_TIME, int state)
        {
            this.id = id;
            this.illness_name = illness_name;
            CREATED_BY = cREATED_BY;
            CREATED_TIME = cREATED_TIME;
            UPDATED_BY = uPDATED_BY;
            UPDATED_TIME = uPDATED_TIME;
            this.state = state;
        }

        public override string ToString()
        {
            return base.ToString();
        }
        public int Id { get => id; set => id = value; }
        public string Illness_name { get => illness_name; set => illness_name = value; }
        public string CREATED_BY1 { get => CREATED_BY; set => CREATED_BY = value; }
        public DateTime CREATED_TIME1 { get => CREATED_TIME; set => CREATED_TIME = value; }
        public string UPDATED_BY1 { get => UPDATED_BY; set => UPDATED_BY = value; }
        public DateTime UPDATED_TIME1 { get => UPDATED_TIME; set => UPDATED_TIME = value; }
        public int State { get => state; set => state = value; }
    }
}
